package com.hsmw.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author 田佳宇
 * @since 2020-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@ToString
@AllArgsConstructor
@Builder
@TableName("hsmw_role")
@ApiModel(value = "HsmwRole对象", description = "角色表")
public class HsmwRole extends BaseModel {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "角色名称")
	private String name;

	@ApiModelProperty(value = "该角色所属的终端类型")
	private String type;

	@ApiModelProperty(value = "权限树")
	private String menuTree;

	@ApiModelProperty(value = "逻辑删除标记")
	private boolean flag;

	@ApiModelProperty(value = "角色说明")
	private String roleExplain;
}

